package com.zhehekeji.opsys.api.resp;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.zhehekeji.opsys.api.common.util.SuperResp;

/**
 * @ClassName GetSigninExchangeListResp
 * @Description TODO
 * @author chenweiliu chenwei.liu@163.com
 * @date 2017-4-1   下午2:00:40
 */
@XmlRootElement
public class GetSigninExchangeListResp extends SuperResp {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5149751603624319740L;
	private Integer recordSize;
	List<SigninExchangeInfo> signinExchangeInfos;
	
	public Integer getRecordSize() {
		return recordSize;
	}

	public void setRecordSize(Integer recordSize) {
		this.recordSize = recordSize;
	}

	public List<SigninExchangeInfo> getSigninExchangeInfos() {
		return signinExchangeInfos;
	}

	public void setSigninExchangeInfos(List<SigninExchangeInfo> signinExchangeInfos) {
		this.signinExchangeInfos = signinExchangeInfos;
	}

	@Override
	public String toString() {
		return "GetSigninExchangeListResp [recordSize=" + recordSize
				+ ", signinExchangeInfos=" + signinExchangeInfos
				+ ", getResultCode()=" + getResultCode() + ", getResultDesc()="
				+ getResultDesc() + "]";
	}

	public static class SigninExchangeInfo implements Serializable{

		/**
		 * 
		 */
		private static final long serialVersionUID = -3470164995332508332L;
		
		private String userID;
		private String mobile;
		private String prizeCode;
		private String prizeName;
		private Integer exchangeGold;
		private String exchangeTime;
		public String getUserID() {
			return userID;
		}
		public void setUserID(String userID) {
			this.userID = userID;
		}
		public String getMobile() {
			return mobile;
		}
		public void setMobile(String mobile) {
			this.mobile = mobile;
		}
		public String getPrizeCode() {
			return prizeCode;
		}
		public void setPrizeCode(String prizeCode) {
			this.prizeCode = prizeCode;
		}
		public String getPrizeName() {
			return prizeName;
		}
		public void setPrizeName(String prizeName) {
			this.prizeName = prizeName;
		}
		public Integer getExchangeGold() {
			return exchangeGold;
		}
		public void setExchangeGold(Integer exchangeGold) {
			this.exchangeGold = exchangeGold;
		}
		public String getExchangeTime() {
			return exchangeTime;
		}
		public void setExchangeTime(String exchangeTime) {
			this.exchangeTime = exchangeTime;
		}
		@Override
		public String toString() {
			return "SigninExchangeInfo [userID=" + userID + ", prizeCode="
					+ prizeCode + ", prizeName=" + prizeName + "]";
		}
	}
}

